#!/bin/sh
source /etc/profile
nohup java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9081 -Djava.rmi.server.hostname=127.0.0.1 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1981 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Xms256M -Xmx1024M -verbose:gc -Xloggc:/mnt/logs/gc-litemall.log -XX:+PrintGCDetails -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/mnt/dump/litemall.dat  -jar -Djava.security.egd=file:/dev/./urandom /mnt/litemall-all-0.1.0-exec.jar >/mnt/logs/litemall.log 2>&1 &